package com.v1.video.domain;

import java.io.Serializable;
import java.util.List;

/**
 * 幻灯广告对象  4.0用
 * @author shenjin
 *
 */
public class CarouselInfo4 implements Serializable {

	private static final long serialVersionUID = 867844843847526398L;

	/**
	 * 视频
	 */
	public static final int TYPE_VIDEO = 0;
	/**
	 * 视频分类
	 */
	public static final int TYPE_VIDEO_CATEGORY = 1;
	/**
	 * 活动
	 */
	public static final int TYPE_ACTIVITY = 2;
	/**
	 * 话题
	 */
	public static final int TYPE_TOPIC = 3;
	/**
	 * 链接
	 */
	public static final int TYPE_LINK = 4;
	/**
	 * 广告
	 */
	public static final int TYPE_ADV = 7;
	
	/**
	 * 秒评
	 */
	public static final int TYPE_SECOND = 11;
	
	/**
	 * CIBN视频
	 */
	public static final int TYPE_CIBN = 12;

	/**
	 * ":[{"id":1,"type":0,"title":"标题","imageUrl":","association":"12351187"}],
	 */
	private String id;
	private String type;// 广告类型，决定跳转方式
	private String title;// 广告标题
//	private String imageUrl;// 广告图片
	private String association;// 广告类型对应的广告时间ID，跳转页面是传递该参数
	private String adShow = "";
	private String adid;
	private List<String> imageUrl;
	
	public List<String> getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(List<String> imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getAdShow() {
		return adShow;
	}

	public void setAdShow(String adShow) {
		this.adShow = adShow;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 广告类型，决定跳转方式 CarouselInfo.TYPE_VIDEO TYPE_VIDEO_CATEGORY TYPE_ACTIVITY
	 * TYPE_TOPIC TYPE_LINK
	 * 
	 * @return
	 */
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	/**
	 * 广告标题
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 广告图片
	 * @return
	 */
//	public String getImageUrl() {
//		return imageUrl;
//	}
//
//	public void setImageUrl(String imageUrl) {
//		this.imageUrl = imageUrl;
//	}

	/**
	 * 广告类型对应的广告时间ID，跳转页面是传递该参数
	 * @return
	 */
	public String getAssociation() {
		return association;
	}

	public void setAssociation(String association) {
		this.association = association;
	}

	public String getAdid() {
		return adid;
	}

	public void setAdid(String adid) {
		this.adid = adid;
	}

}
